<%--
  Created by IntelliJ IDEA.
  User: luoguang
  Date: 2024/9/24
  Time: 下午5:27
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page session="true" %>
<html>
<head>
    <title>欢迎页</title>
    <style>
        .welcome-container {
            width: 300px;
            margin: 100px auto;
            padding: 30px;
            border: 1px solid #ccc;
            border-radius: 10px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            text-align: center;
        }
        .welcome-container h2 {
            margin-bottom: 20px;
        }
        .welcome-container a {
            display: block;
            margin-top: 20px;
            color: #4CAF50;
            text-decoration: none;
        }
        .welcome-container a:hover {
            text-decoration: underline;
        }
    </style>
</head>
<body>
<div class="welcome-container">
    <h2>欢迎,后端传的user Session为： <%= session.getAttribute("user") %>!</h2>
    <p>您已成功登录。</p>
</div>
</body>
</html>
